package com.tedu.egweibo2.mapper;

import com.tedu.egweibo2.pojo.dto.UserLoginParam;
import com.tedu.egweibo2.pojo.entity.User;
import com.tedu.egweibo2.pojo.vo.UserVO;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {
    int selectUserByUsername(String username);

    int insertUser(User user);

    UserVO selectUserByUsernameAndPassword(UserLoginParam userLoginParam);

    int updateUser(User user);

    int deleteUserById(Long id);
}
